home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 13 / MacAddict_013_1997_09.iso / mac / Sponsor Demos / Digital Frontiers / HVS JPEG(FAT) / HVSJPEG.HLP next >
Text File  |  1997-03-25  |  19KB  |  131 lines

  1. HVS™ JPEG 2.0 Electronic Edition User Guide 
  2.  
  3. Digital Frontiers
  4. 1206 Sherman Ave.
  5. Evanston, IL 60202
  6. 847.328.0880
  7. http://www.digfrontiers.com
  8.  
  9. Overview
  10. Congratulations on your purchase of Digital Frontiers’ HVS™ JPEG 2.0! You now have at your disposal a sophisticated professional tool for creating JPEG images of the highest quality and smallest size. HVS JPEG’s proprietary Human Visual Systems™-based image-processing algorithms are unmatched in the industry for their ability to optimize compression and quality. The HVS algorithms are the product of years of research devoted to modelling human visual perception to optimize the digital representation of images. Dr. Richard Bruno, Chairman of Digital Frontiers, was a member of the ISO JPEG Committee.
  11.  
  12. Installation
  13. HVS JPEG 2.0 is implemented as a Photoshop 3.0 and 4.0-compatible filter plug-in. It can be run with any application that supports the basic Photoshop 3.0 filter standard, including most major paint programs on the Macintosh and Windows platforms. 
  14.  
  15. HVS JPEG 2.0 is somewhat unusual in that it is a filter as opposed to a file format or export plug-in. Most non-Photoshop image editors support the filter standard, but very few support the file format and export standards. As a filter, HVS JPEG runs on the widest possible variety of hosts, and is easily accessed.
  16.  
  17. To install HVS JPEG 2.0, you should first determine the location of your filter plug-ins directory for your paint program. For example, Photoshop users would typically find a directory named PlugIns under the main Photoshop directory. That would be the target directory for installing the HVS JPEG plug-in.
  18.  
  19. To Install HVS JPEG 2.0:
  20. 1. Determine the location where your paint program looks for filter plug-ins. Most paint programs have a Preferences setting for the location of this directory. It’s very important to make sure you put the filter in the proper directory, or it won’t show up on the menu.
  21.  
  22. 2. (Mac) Drag the files HVSJPEGFilterFat and HVSJPEG.HLP to your PlugIns:Filters folder.   
  23. (Windows 95) In Windows Explorer, drag the HVSJPEG filter (with a .8BF extension) and the help file (HVSJPEG.HLP) to the directory containing filter plug-ins.
  24.  
  25. 3. Restart your paint program. HVS JPEG should be visible on the menu for filter plug-ins.
  26.  
  27. 4. HVS JPEG 2.0 includes this file in both a text version and an Adobe Acrobat file containing an online hyperliinked version of the manual (HVSJPEG.PDF). If you don’t have Acrobat Reader you can download it from the Digital Frontiers web site, http://www.digfrontiers.com.
  28.  
  29. Registering a RoadTest Version
  30. The RoadTest version of HVS JPEG 2.0 allows you to try the plug-in for a limited time period, after which the Export feature will be disabled. To enable the full feature set after the trial period expires, you must use the Registration button to submit payment for the full product. You will also be able to order other products from the Digital Frontiers catalog when you register.
  31.  
  32. The registration screen allows you to submit payment via the Internet, via modem, over the telephone, fax, or through conventional mail. If you register electronically, an unlocking code will be returned following the processing of your credit card, and the full feature set will immediately be accessible. 
  33.  
  34. See the Digital Frontiers site at http://www.digfrontiers.com for details.
  35.  
  36. The Human Visual Systems Approach
  37. HVS JPEG is one of a series of tools that incorporate Digital Frontiers’ proprietary HVS™ (Human Visual Systems) technology. HVS is analogous to the Dolby“ (a registered trademark of Dolby Labs) technology that is used inside most tape decks - it is a proprietary signal processing mechanism that provides superior quality even when information is lost via compression or other means. When you see the HVS trademark on a product, it means that the product vendor has licensed HVS algorithms as a means of providing higher quality to the end user. HVS provides the following benefits:
  38.  
  39. • Improved Signal-to-noise Ratio.
  40. • Significant improvements in compression (30%-200% is typical).
  41. • More accurate rendition of color space even with limited palettes.
  42. • Higher perceived image quality.
  43. • Greatly improved download times stemming from compression improvements.
  44.  
  45. HVS™ ColorGIF 2.0
  46. Another Digital Frontiers product, HVS™ ColorGIF 2.0, provides similar benefits using the 8-bit GIF image format. HVS Color Version 1 has become a widely recommended tool for Web designers, and earned a 5-star rating (top) from Publish magazine in the January, 1997 issue.
  47. HVS technology is becoming a significant factor in improving image quality and download times on the Web. In recognition of these benefits to the Internet community, New Media Magazine gave HVS products the 1997 Hyper Award for Best Graphics Utility. Digital Frontiers is grateful for this recognition, and we are working to develop more exciting products in the HVS series.
  48.  
  49. HVS JPEG 2.0
  50. HVS JPEG 2.0 combines an industry-standard progressive JPEG encoder with HVS preprocessing techniques that allow image designers to export JPEGs with unrivaled quality and compression. Some of the proprietary enhancements unique to HVS JPEG include:
  51.  
  52. • Edge-preserving frequency-based prefilters.
  53. • Automatic tuning of preprocessing based on perception characteristics of the human eye in combination with image data.
  54. • Optimized Q-tables for several image types (portraits, textures, etc.)
  55. • Automatic Q-table generator for the best possible compression at a given quality level. 
  56. • Superior HVS sub-sampling filters.
  57.  
  58.  Getting Started with HVS JPEG 2.0
  59.     JPEG Principles
  60.         How JPEG Compresses Images
  61. JPEG uses a number of techniques to compress the image. Most importantly, the image data is converted into frequencies, or rates of change, as opposed to absolute values of color and luminosity. For this reason, the effectiveness of JPEG is very dependent upon what frequencies are present in an image. Images that don’t change much, and have smooth shading, compress better than images with a lot of sharp color changes (for example, random textures such as concrete). 
  62.  
  63. JPEG was developed for use with photographs. In principle, it does best with natural images in which random color disturbances would be masked by the natural randomness of the image. JPEG’s compression ratio is variable. When you save a JPEG image you tell it how much quality you’re willing to sacrifice, and it determines how much compression is possible.
  64.  
  65. JPEG vs. GIF
  66. JPEG is not generally a good choice for very precise images in which maintaining the integrity of sharp detail is critical. Synthetically constructed images (like ad banners, logos and buttons on a Web page) will tend to show JPEG’s faults much more than natural images. GIF is a better compression strategy for these images, because it doesn’t modify image structure to compress the data. However, GIFs require that the color space of the image be reduced from 24 bits to 256 colors or less. Normal dithering algorithms often produce poor color matches and visible defects, along with inferior compression. Digital Frontiers’ HVS™ ColorGIF 2.0 allows you to create GIFs that achieve maximum compression while maintaining 24-bit color accuracy. Please visit the Digital Frontiers web site at http://www.digfrontiers.com for details and online purchasing.
  67.  
  68. Using the HVS JPEG Filter
  69. To start HVS JPEG, load a 24-bit RGB image into the host program. Go the menu showing filter plug-ins (in Photoshop this is the Filter menu) and you should see an HVS Filters item. In some applications, HVS plug-ins will be listed under Other. Select HVS JPEG 2.0, and you will see the main HVS JPEG dialog.
  70.  
  71. Previewing the Image
  72. After you start the HVS JPEG filter, you will see the main dialog. The dialog is divided into several major sections. In the upper right is a preview of your image as it will look at the current setting, with size and compression estimates below (Note:you must have Show Compressed checked or you will only see the RGB image.) Whenever you change one of the settings, the preview will re-display the image and the compression estimates. This allows you to make decisions in real time about how much to compress the image. 
  73. The download time estimate gives you an idea of how long in seconds the image will take to download at the current compression setting. This is an average value based on a 28.8 modem, and it could vary considerably depending on the quality of the link, how busy the server is, and so on.
  74.  
  75. The Quality/Compression Tradeoff
  76. In order to optimize a JPEG, you need to be able to see how far you can push compression before an unacceptable level of image degradation occurs. JPEG compresses by throwing information away - which is why it is classified as a “lossy” compression method. You tell the JPEG encoder roughly how much quality you want to keep in the image, and then you see how much compression it was able to achieve. This might seem a bit indirect, and it is. Because of the way JPEG was designed, you never really know how much compression is going to result from a given quality (“Q”) setting. HVS JPEG’s live preview and compression estimation make it easy for you to interactively set the quality value and see what happens to compression.
  77.  
  78. JPEG’s “Q” or quality setting (which you can change with the slider below the preview window) is just an arbitrary number between 1 and 100 that is sort of like the gas pedal in a car. If you push the pedal down halfway, you don’t really know how fast the car will go - it depends on a lot of factors like how much weight is in the car, whether you’re going uphill, and so on. You push the pedal down, and then you fine-tune the speed by observing what happens.
  79.  
  80. But first, try changing the Q slider and see what effect it has on your image. If you push it all the way to the left, your image will probably look pretty bad, but if you look at the compression it will be very high (better than 50-1). If you move the Q slider to the right, the image will look a lot better but the compression won’t be nearly as good. 
  81.  
  82. Many JPEG encoders only allow you to control the Q value and hope for the best. With HVS JPEG, you get immediate feedback as to image quality and compression, and you have a number of tools that allow you to tune and optimize the encoding to get the best results. However, even if you choose not to use any of the tools, HVS JPEG 2.0 still uses its normal quality enhancement algorithms to achieve superior results.
  83.  
  84. To set the Q value, first move it to the left to a position that doesn’t look good. Then start moving the slider back to the right in small increments until you settle on a position in which the image quality looks acceptable to you. This is the Q value that will allow the encoder to compress the image as much as possible without sacrificing too much quality. A good way to spot artifacts is to use the Show Compressed checkbox to toggle back and forth between the original and the compressed image.
  85.  
  86. Exporting an Image
  87. Move the Q Setting slider to a position that provides a quality level that is just acceptable. Notice what the compression value is. Hit the Export button, and you will see a standard File Save dialog. Name your file, and select Save. You have now exported the image as a JPEG file. 
  88. If you look at the image size on disk, remember that you should look at the exact number of bytes used in the file (and on Macintoshes only the data fork size is important - the resource fork is not transmitted when the image is viewed). The image size will be close to the estimated size, but will probably be different - HVS JPEG does a quick estimate rather than taking the time to recompress the entire image every time you change a setting.
  89.  
  90. The HVS JPEG filter is output-only, meaning that it allows you to export the current image as a JPEG file, but doesn’t alter the image in Photoshop in any way. Your original RGB source image is still untouched, and you can export it again to JPEG without closing and reopening the image.
  91.  
  92. Using Advanced HVS JPEG Features
  93.     Selecting Progressive Display
  94. If your image is going to be viewed via modem or internet connection, you will probably want to select the Progressive check box. This allows the browser to show the user a rough view of the image and progressively enhance it as the image is downloaded. Most browsers now support Progressive JPEG, but there are still some that don’t.
  95.  
  96.     Pre-filtering
  97. One of the unique optimization tools that HVS JPEG provides is an intelligent pre-filter. The compression ratio that JPEG is able to achieve for a given quality level is highly dependent upon the image data. Images that have a lot sharp detail are much tougher on JPEG than images with simpler color structure. Areas of the image with a lot of dramatic color changes are likely to exhibit artifacts, or defects, when compression is pushed past a certain level depending upon the image. “Ringing” is a familiar JPEG artifact that causes untrue color rendering in very noticeable areas, such as edges.
  98.  
  99. The eye notices edges, or sharp discontinuities in color and brightness, much more than texture. Texture is a subtlety that can often be simplified without sacrificing much in terms of image quality. HVS JPEG’s intelligent pre-filtering allows you to simplify and smooth the busy areas of your image without disturbing edges. This allows you to push compression to a higher level without seeing disturbing artifacts.
  100.  
  101. To see what pre-filtering does, go to the two sliders in the Pre-filtering section of the dialog box. If your image has a lot of fine detail that is important, select “Sharp Detail”. This will set the filter so that it only filters out the finest detail, but leaves most of it in the image. If you select “Soft Detail”, the filter will use its most aggressive approach in determining what to filter and what to preserve. On this setting, many images will show undesirable blurring.  Move the Strength slider and see what effect it has on your image. Moving it to the right should cause the fine image detail to become more and more indistinct. If either slider is all the way to the left, no pre-filtering will occur.
  102.  
  103. After you’ve selected the level of filtering you want, adjust the Q Setting slider to come up with the best compromise between image quality and compression. Each time you change filtering or the Q-Table setting, you should go back to the Q slider. Hopefully, the proper filtering and Q-Table settings will enable you to set Q to a lower level (meaning higher compression) and still have acceptable visual quality.
  104.  
  105. You should set the proper filter value for the image before you modify the Q-Table setting. Pre-filtering means that the filtering operation happens before anything else, and gives the rest of the encoding process filtered data so it can do a better job.
  106.  
  107.     Optimizing the Q-Table
  108. JPEG encoders use a table to determine how they will process various aspects of the image. Most encoders use a default Q-Table and have no ability to use tables customized for the image or image type. HVS JPEG provides both Q-Tables hand-tuned for broad classes of images and the ability to automatically generate a Q-Table customized for the current image and desired level of compression.
  109.  
  110. The colored icons on the left side allow you to select the Q-Table option that is most appropriate. The default Q-Table can be selected by clicking on the “General” icon. This will provide good, if not optimal, results on most images. 
  111.  
  112. For portraits or other images with a lot of smooth tone, “Portraits” will give superior results. This emphasizes the smooth tonal transitions of the image and de-emphasizes sharp detail.
  113.  
  114. The “Texture” icon gives good results with natural and still-file scenes in which fine texture is important. 
  115.  
  116. For the best possible results (at the expense of a longer wait) the “Generate Optimized Q-Table” button analyzes the image and produces the Q-Table that will retain the most quality for that level of compression.
  117.  
  118. With the Optimized Q-Table button selected, some operations will take a good deal longer. If you change a parameter that causes a re-computation of the optimum Q-Table, you will notice a pause as the optimizer generates a new Q-Table. When it returns, try setting the Q slider to a lower quality value - you will probably find that you can compress the image more than before generating the optimized table. This won’t be true with all images. You might find that on some images one of the pre-built Q-Tables gives equal or better results. 
  119.  
  120.     Batch Processing
  121. HVS JPEG 2.0 can be used to process multiple images using Photoshop’s “Command-F” feature or the batch processing capabilities present in Photoshop 4.0. If the filter is invoked in either of these modes, it assumes that you want to save an image with the same parameters as the last image except for the file name. Each invocation will use the last file name, plus a numeric field that will be incremented by 1. For example, if the last file name was “FRED.JPG”, invoking the filter automatically will save the next file as “FRED0001.JPG”. If the last file was named “ECLIPSE0039.JPG”, the next one will be “ECLIPSE0040.JPG”, and so on.
  122.  
  123. In order to set the JPEG compression parameters accurately, invoke the filter manually and modify the settings to produce acceptable levels of compression and quality. Save an image using the “base” file name (in our examples, “FRED.JPG” or “ECLIPSE.JPG”), and then run the batch. HVS JPEG will place the batched files in the same directory as the base file. Note that if files by the current name already exist, they will be overwritten. 
  124.  
  125. Technical Support
  126. Free technical support is available to registered users for the first 30 days, and 3 support incidents thereafter. Support and consulting plans are available for users who require more in-depth assistance.  Registered users may visit the Digital Frontiers web site at http://www.digfrontiers.com to review and post tech questions on the Customer Support Board, an archive of HVS tech info. When prompted for user name and password, enter your Digital Frontiers Customer ID in both fields. If you purchased your product via catalog or via the Web, you can call 847-328-0880 or fax proof of catalog purchase to 847-869-2053 to receive your Customer ID. The 5-digit ID assigned during web purchases cannot be used for this purpose - you need to get your Digital Frontiers ID, which is generally 4 or more alpha characters plus some digits.
  127.  
  128. If for some reason you cannot access the Customer Support Board, you may send tech questions to support@digfrontiers.com.
  129.  
  130. HVS RoadTest
  131. The HVS RoadTest program allows you to download working trial versions of HVS products from the Digital Frontiers web site. If you like the product, you can purchase it from within the product itself via modem or internet connection, or via fax or phone. An unlocking code will be returned so you have permanent use of the full feature set of the product. Please visit http://www.digfrontiers.com or email info@digfrontiers.com for details.